package cn.itcast.work.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * 用户实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private String role; //用户
    private String motto;
    private String pic;
    private int put;

    public User(String role, String username, String userpassword, String phone, String email) {
        this.role = role;
        this.username = username;
        this.userpassword = userpassword;
        this.phone = phone;
        this.email = email;
    }

    private String username;
    private String userpassword;
    private String phone;
    private String email;
    private int id;

    public User(String username, String userpassword, String phone, String email) {
        this.username = username;
        this.userpassword = userpassword;
        this.phone = phone;
        this.email = email;
    }


}